home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…rary 6 (Reseller Edition)
/
Apple Ref. & Pres. Lib.v6.0.toast
/
pc
/
3-Presentations
/
Apple Demos
/
Training
/
HyperCard 2.0 Training
/
•HC 2.0-4
/
card_2132.txt
< prev
next >
Wrap
Text File
|
1990-04-06
|
3KB
|
167 lines
-- card: 2132 from stack: in.0-4
-- bmap block id: 9678
-- flags: 0000
-- background id: 8040
-- name: Ex 2.2
-- part 1 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=27 top=50 right=337 bottom=201
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 14
-- style flags: 0
-- line height: 15
-- part name:
-- part 2 (button)
-- low flags: 00
-- high flags: 8006
-- rect: left=52 top=161 right=183 bottom=194
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Card layer
----- HyperTalk script -----
-- The "HiliteRadio" handler is in the stack script.
on mouseUp
hide cd fld "feedback"
HiliteRadio
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 8006
-- rect: left=51 top=205 right=227 bottom=193
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Background layer
----- HyperTalk script -----
-- The "HiliteRadio" handler is in the stack script.
on mouseUp
hide cd fld "feedback"
HiliteRadio
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=29 top=252 right=270 bottom=88
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Done
----- HyperTalk script -----
-- The "checkOneRight" handler is in the stack script. The "cd"
-- argument indicates that this cd requires feedback in a cd fld.
on mouseUp
checkOneRight cd
end mouseUp
-- part 5 (field)
-- low flags: 81
-- high flags: 2004
-- rect: left=27 top=274 right=332 bottom=344
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 174
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: feedback
----- HyperTalk script -----
on mouseUp
hide me
put empty into me
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=98 top=252 right=270 bottom=219
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Correct Answer
----- HyperTalk script -----
-- This handler shows the correct answer.
on mouseUp
hideFeedback
dehiliteBtns
set hilite of btn 1 to true
wait 25
repeat 2
set hilite of btn 1 to false
wait 25
set hilite of btn 1 to true
wait 25
end repeat
ans 3,cd
end mouseUp
-- part contents for background part 9
----- text -----
2 of 8
-- part contents for card part 1
----- text -----
Here are two cards from the same stack.
Is the Button
in the
or the
of these cards?
-- part contents for background part 19
----- text -----
Yes. This button is in the card layer, since it’s only visible on one card.
No, this button is in the card layer—it’s only visible on one card. If it were in the background layer, you would see it on both cards.
This is the correct answer. This button is in the card layer, since it’s only visible on one card.
-- part contents for background part 20
----- text -----
2